#ifndef TERMINAL_WINDOW_H
#define TERMINAL_WINDOW_H

    #include"gui_color.h"

    int terminal_window_init();
    void terminal_window_loop();
    void terminal_window_size(uint32_t *width,uint32_t *height);
    void terminal_window_rectfill(int x,int y,uint32_t width,uint32_t height,gui_color_t color);
    void terminal_window_rect(int x,int y,uint32_t width,uint32_t height,gui_color_t color);
    void terminal_window_show_char(int x,int y,char ch,uint32_t color);
    void terminal_window_update(int left,int top,int right,int bottom);
    int terminal_window_exit();
    gui_spirit_t *terminal_win;
    gui_surface_t *terminal_surface;

#endif